
#import <UIKit/UIKit.h>
#import "YSLoopView.h"
@class YSLoadingView;

void ShowMessage(NSString *statues);

@interface UIView (Extension)

@property (strong, nonatomic) YSLoadingView *loadingView;


/**
 开始loading
 */
- (void)beginLoading;

/**
 结束loading
 */
- (void)endLoading;


/**
 show提示

 @param message 提示内容
 */
- (void)showHint:(NSString *)message;

@end

//loading加载效果
@interface YSLoadingView : UIView
@property (strong, nonatomic) YSLoopView *loopView;
//@property (strong, nonatomic) UILabel *titleLabel;
@property (assign, nonatomic, readonly) BOOL isLoading;
- (void)startAnimating;
- (void)stopAnimating;
@end


